package com.dbs.donatebooksystem.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Component
@TableName("`orders`")
public class Orders {
    private int orderId;
    private int userId;
    private int addressId;
    private int bookId;
    private String orderNumber;//订单编号
    private String receiverName;
    private String receiverPhone;
    private LocalDateTime createTime;
    private int status;
}
